const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  // roles: state => state.user.roles, //新增
  menu: state => state.user.menu,
  buttons: state => state.user.buttons,
  isDirector:state=>state.user.isDirector,
  isFinancial:state=>state.user.isFinancial,
}
export default getters
